<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        *{padding: 0;margin: 0;}
        .header{
            display: flex;
            justify-content: flex-end;
            border-bottom: 1px solid #ccc;

            height: 50px;
            align-items: center;
            /* line-height: 50px; */
        }
        .header a{
            color: #000;
            margin: 0 20px;
        }
        .search{
            background-color: #ccc;
            height: 200px;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .btn{
            margin: 0 20px;
        }
    </style>
</head>
<body>
    <!-- 代码规范缩进 -->
    <div class="header">
        <a href="">网页</a>
        <a href="">新闻</a>
        <a href="">网页</a>
        <a href="">新闻</a>
        <a href="">网页</a>
        <a href="">新闻</a>
        <a href="">网页</a>
        <a href="">新闻</a>
    </div>
    <div class="search">
        <img src="images/s1.jpg" alt="">
        <div class="btn">
            <input type="text">
            <button>百度一下</button>
        </div>
        <a href="">帮助</a>
    </div>
    <div class="news">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>

    </div>
    <div class="footer"></div>
</body>
</html>